package smoker.tools;

import java.io.*;

public class Message implements Serializable{
	public static final long serialVersionUID = 0; 
	private int type;
	private Object data;
	
	public Message(int type, Object data) {
		this.type = type;
		this.data = data;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
}
